; Music of Hostages (1990) (Infogrames)
; Ripped by Megachur the 17/04/2009

	write "HOSTAGES.BIN"

music_date_rip	equ &1149
music_adr	equ &79bd
first_theme	equ 0
last_theme	equ 0	; 0 -> 0 (1->3 sound fx)

	read "music_header_v1_0.asm"

	jp l79c6
	jp l7a60
	jp l7ae4
;
.init_music
.l79c6
;
	ld (l833f),a
	add a
	add a
	add a
	add #88
	ld e,a
	adc #80
	sub e
	ld d,a
	call l7ae4
	ld a,(de)
	inc de
	ld (l7a81),a
	ld h,lce00/&100	;#ce
	call l79ef
	call l79ef
	call l79ef
	ld a,#01
	ld (l7a64),a
	ld (l7b62),a
	ret
.l79ef
	ld l,#05
	ld (hl),#01
	dec l
	xor a
	ld (hl),a
	ld l,#07
	ld (hl),a
	ld l,#09
	ld (hl),a
	ld l,#15
	ld (hl),a
	ld a,(de)
	inc de
	ld c,a
	ld a,(de)
	inc de
	ld b,a
	ld l,#02
	ld a,(bc)
	ld (hl),a
	inc bc
	inc l
	ld a,(bc)
	ld (hl),a
	inc bc
	ld l,#00
	ld (hl),c
	inc l
	ld (hl),b
	inc h
	ld a,h
	cp ld000/&100
	ret nz
	ld h,ld600/&100	;#d6
	ret
.l7a1c equ $ + 1
	ld l,#00
	inc l
	dec l
	jr z,l7a27
	cp l
	jr z,l7a2f
	jr nc,l7a2f
	ret
.l7a27
	push af
	ld a,(l7b52)
	ld (l7c7a),a
	pop af
.l7a2f
	ld (l7a1c),a
	add a
	add #21
	ld l,a
	adc #80
	sub l
	ld h,a
	ld de,ld702
	ldi
	ex de,hl
	ld a,(de)
	ld (hl),a
	ld d,a
	dec l
	ld e,(hl)
	xor a
	ld l,#04
	ld (hl),a
	ld l,#15
	ld (hl),a
	ld l,#16
	ld (hl),#01
	jp l7b9d
.l7a53
	ld a,(l7a1c)
	or a
	ret z
	call l7afa
	ld h,ld700/&100	;#d7
	jp l7aa3
;
.play_music
.l7a60
;
	call l7b0b
.l7a64 equ $ + 1
	ld a,#00
	or a
	jr z,l7a53
	ld hl,l7b62
	dec (hl)
	ld h,lce00/&100	;#ce
	call l7b1c
	inc h
	call l7b1c
	ld h,ld600/&100	;#d6
	call l7b1c
	ld a,(l7b62)
	or a
	jr nz,l7a85
.l7a81 equ $ + 1
	ld a,#01
	ld (l7b62),a
.l7a85
	ld a,(l7a64)
	or a
	jr z,l7a53
	ld a,(l7a1c)
	or a
	jr nz,l7a96
	ld a,ld600/&100	;#d6
	ld (l7aa2),a
.l7a96
	call l7afa
	ld h,lce00/&100	;#ce
	call l7aa3
	call l7aa3
.l7aa2 equ $ + 1
	ld h,ld600/&100	;#d6
.l7aa3
	ld l,#06
	ld a,(hl)
	inc hl
	ld c,(hl)
	inc hl
	call l65a2
	ld a,(hl)
	inc hl
	ld c,(hl)
	inc hl
	call l65a2
	ld a,(hl)
	inc hl
	ld (l7ad7),a
	ld b,l
	ld l,#33
	ld a,(hl)
	and a
	jr z,l7ac9
	ld l,#2e
	ld a,(hl)
	and #0f
	jr z,l7ac9
	ld l,b
	jr l7acb
.l7ac9
	ld l,b
	ld a,(hl)
.l7acb
	push af
	ld a,(l8031)
	ld d,a
	pop af
	sub d
	jr nc,l7ad5
	xor a
.l7ad5
	ld c,a
.l7ad7 equ $ + 1
	ld a,#00
	call l65a2
	inc hl
	inc h
	ld a,h
	cp ld000/&100	;#d0
	ret nz
	ld h,ld600/&100	;#d6
	ret
.l7ae4
	xor a
	ld (l7a64),a
	ld (l7a1c),a
	ld (l7d41),a
	ld a,#bf
	ld (l7b52),a
	ld c,a
	ld a,#07
	call l65a2
	ret
.l7afa
	ld a,#06
.l7afd equ $ + 1
	ld c,#01
	call l65a2
	ld a,(l7b52)
	ld c,a
	ld a,#07
	call l65a2
	ret
.l7b0b
	ld a,(l7a1c)
	or a
	ret z
	ld hl,ld702
	ld a,h
	ld (l7aa2),a
	ld e,(hl)
	inc l
	ld d,(hl)
	jr l7b66
.l7b1c
	ld l,#2e
	ld a,(hl)
	and a
	jr z,l7b4f
	inc l
	ld e,(hl)
	inc l
	ld d,(hl)
	inc l
	ld a,(hl)
	add e
	ld e,a
	adc d
	sub e
	ld d,a
	ld a,(de)
	cp #80
	jr nz,l7b36
	xor a
	ld (hl),a
	jr l7b1c
.l7b36
	inc (hl)
	and a
	jr nz,l7b43
	call l7ca3
	ld l,#33
	ld (hl),#00
	jr l7b5c
.l7b43
	ld (l7afd),a
	call l7ccc
	ld l,#33
	ld (hl),#01
	jr l7b5c
.l7b4f
	ld l,#20
.l7b52 equ $ + 1
	ld a,#00
	and (hl)
	jr nz,l7b5c
	ld l,#07
	ld a,(hl)
	ld (l7afd),a
.l7b5c
	ld l,#02
	ld e,(hl)
	inc l
	ld d,(hl)
.l7b62 equ $ + 1
	ld a,#00
	or a
	jr nz,l7b71
.l7b66
	ld l,#05
	dec (hl)
	jr z,l7b9d
	call l7d1a
	call l7c56
.l7b71
	call l7f0e
	call l7e8a
	call l7e83
	call l7ebe
	call l7d25
	call l7e61
	ld l,#04
	bit 5,(hl)
	ret z
	ld a,r
	and #07
	ld c,a
	ld l,#07
	ld a,(lce07)
	add c
	ld (hl),a
	ld a,(lce09)
	ld l,#09
	ld (hl),a
	ret nc
	inc (hl)
	ret
.l7b9d
	ld a,(de)
	inc de
	or a
	jp m,l7bdb
	ld l,#0c
	ld (hl),a
	ld l,#02
	ld (hl),e
	inc l
	ld (hl),d
	call l7d40
	ld l,#14
	ld a,(hl)
	ld l,#0b
	ld (hl),a
	ld l,#0d
	ld a,(hl)
	ld l,#05
	ld (hl),a
	ld l,#18
	ld (hl),#00
	ld l,#2d
	ld a,(hl)
	srl a
	dec l
	ld (hl),a
	ld l,#0e
	call l7bcb
	inc l
.l7bcb
	ld a,(hl)
	ld c,a
	and #0f
	inc l
	ld (hl),a
	ld a,c
	rra
	rra
	rra
	rra
	and #0f
	inc l
	ld (hl),a
	ret
.l7bdb
	cp #e0
	jr nc,l7c03
	cp #d0
	jr nc,l7c13
	cp #c0
	jr nc,l7c0b
	cp #b0
	jr nc,l7c3a
	ld c,h
	add a
	add #79
	ld l,a
	adc #7d
	sub l
	ld h,a
	ld a,c
	ld c,(hl)
	inc hl
	ld b,(hl)
	ld h,a
	ld (l7bfe),bc
.l7bfe equ $ + 1
	call #0000
	jp l7b9d
.l7c03
	sub #df
	ld l,#0d
	ld (hl),a
	jp l7b9d
.l7c0b
	sub #c0
	ld l,#14
	ld (hl),a
	jp l7b9d
.l7c13
	sub #d0
	ld l,#14
	ld (hl),a
	ex de,hl
	ld e,#0e
	ldi
	ld e,#11
	ldi
	ex de,hl
	ld a,(de)
	rra
	rra
	rra
	rra
	and #0f
	ld l,#19
	ld (hl),a
	inc l
	ld (hl),a
	ld a,(de)
	and #0f
	ld l,#1b
	ld (hl),a
	inc l
	ld (hl),a
	inc de
	jp l7b9d
.l7c3a
	sub #b0
	add a
	add #56
	ld c,a
	adc #80
	sub c
	ld b,a
	ld a,(bc)
	ld l,#21
	ld (hl),a
	inc l
	inc bc
	ld a,(bc)
	ld (hl),a
	inc l
	ld (hl),#00
	ld l,#04
	set 0,(hl)
	jp l7b9d
.l7c56
	ld l,#16
	ld a,(hl)
	ld l,#05
	cp (hl)
	ret nz
	ld a,(de)
	cp #8e
	ret z
	ld l,#18
	ld (hl),#01
	ld l,#15
	ld (hl),#00
	ld l,#04
	res 1,(hl)
	ret
.l7c6e
	pop af
	xor a
	ld (l7a1c),a
	ld a,(l7b52)
	and #db
	ld c,a
.l7c7a equ $ + 1
	ld a,#00
	and #e4
	or c
	ld (l7b52),a
	ld a,(l7a64)
	or a
	ret nz
	ld a,(l7b52)
	or #24
	ld (l7b52),a
	jp l7afa
.l7c91
	ld l,#15
	ld (hl),#00
	ret
.l7c96
	push af
	ld a,(de)
	ld (l8033),a
	inc de
	pop af
	ret
.l7c9e
	ld l,#04
	res 2,(hl)
	ret
.l7ca3
	call l7cf7
	ld l,#1f
.l7ca8
	ld a,(hl)
.l7ca9
	cpl
	and c
	ld c,a
	ld l,#04
	res 4,(hl)
	ld a,h
	cp #d6
	jr z,l7cba
.l7cb5
	ld a,c
	ld (l7b52),a
	ret
.l7cba
	ld a,(l7a1c)
	or a
	jr z,l7cb5
	ld a,c
	ld (l7c7a),a
	ret
.l7cc5
	call l7cf7
	ld l,#20
	jr l7ca8
.l7ccc
	call l7cf7
	ld l,#1f
	ld a,(hl)
	inc l
	or (hl)
	jr l7ca9
.l7cd6
	call l7cf7
	ld l,#20
	ld a,(hl)
	cpl
	and c
	ld (l7b52),a
	ld l,#04
	set 4,(hl)
	ret
.l7ce6
	ld l,#0b
	ld (hl),#00
.l7cea
	pop af
	ld l,#0d
	ld a,(hl)
	ld l,#05
	ld (hl),a
	ld l,#02
	ld (hl),e
	inc l
	ld (hl),d
	ret
.l7cf7
	ld a,(l7b52)
	ld l,#1f
	or (hl)
	inc l
	or (hl)
	ld c,a
	ret
.l7d01
	ld a,(de)
	ld (l8031),a
	inc de
	ret
.l7d07
	ld l,#15
	push af
	ld a,(l8033)
	ld (hl),a
	pop af
	ret
.l7d10
	ld l,#15
	ld (hl),#01
	ret
.l7d15
	ld l,#15
	ld (hl),#ff
	ret
.l7d1a
	ld l,#15
	ld a,(hl)
	or a
	ret z
	ld l,#0c
	add (hl)
	ld (hl),a
	jr l7d40
.l7d25
	ld l,#04
	bit 0,(hl)
	ret z
	ld l,#21
	ld a,(hl)
	inc l
	ld b,(hl)
	inc l
	add (hl)
	ld c,a
	jr nc,l7d35
	inc b
.l7d35
	inc (hl)
	ld a,(bc)
	or a
	jp p,l7d3d
	ld (hl),#00
.l7d3d
	ld l,#0c
	add (hl)
.l7d41 equ $ + 1
.l7d40
	add #00
	add a
	add #63
	ld c,a
	adc #7f
	sub c
	ld b,a
	ld a,(bc)
	inc bc
	ld l,#07
	ld (hl),a
	ld a,(bc)
	ld l,#09
	ld (hl),a
	ld l,#04
	bit 2,(hl)
	ret z
	push de
	ld l,#27
	ld e,(hl)
	inc l
	ld d,(hl)
	ld l,#07
	ld c,(hl)
	ld l,#09
	ld b,(hl)
	ex de,hl
	add hl,bc
	ex de,hl
	ld (hl),d
	ld l,#07
	ld (hl),e
	pop de
	ld l,#29
	ld a,(hl)
	ld l,#26
	ld (hl),a
	ret
.l7d73
	ld a,(de)
	ld (l7d41),a
	inc de
	ret
	dw l7e41,l7d01,l7d07,l7df5
	dw l7e0e,l7e13,l7e22,l7c9e
	dw l7ddf,l7e7e,l7ca3,l7cc5
	dw l7ccc,l7cd6,l7cea,l7ce6
	dw l7d73,l7ae4,l7e74,l7e79
	dw l7e39,l7c6e,l7c96,l7c91
	dw l7daf,l7d15,l7d10
.l7daf
	ld l,#2e
	ld a,(de)
	ld (hl),a
	inc de
	and a
	jr nz,l7dbb
	call l7ca3
	ret
.l7dbb
	push af
	call l7ccc
	pop af
	push af
	and #f0
	rrca
	rrca
	rrca
	rrca
	dec a
	add a
	add #34
	ld c,a
	adc #80
	sub c
	ld b,a
	ld a,(bc)
	ld l,#2f
	ld (hl),a
	inc l
	inc bc
	ld a,(bc)
	ld (hl),a
	inc l
	ld (hl),#00
	pop af
	inc l
	ld (hl),a
	ret
.l7ddf
	ex de,hl
	ld e,#2a
	ldi
	ldi
	ld a,(hl)
	ldi
	ld (de),a
	ex de,hl
	ld l,#04
	set 3,(hl)
	set 6,(hl)
	ret
	nop
	nop
	nop
.l7df5
	ld a,(de)
	inc de
	ld l,#16
	ld (hl),a
	ld a,(de)
	rra
	rra
	rra
	rra
	and #0f
	ld l,#1d
	ld (hl),a
	inc l
	ld (hl),a
	ld a,(de)
	and #0f
	ld l,#17
	ld (hl),a
	inc de
	ret
.l7e0e
	ld l,#04
	res 0,(hl)
	ret
.l7e13
	ex de,hl
	ld e,#24
	ldi
	ldi
	ldi
	ex de,hl
	ld l,#04
	set 1,(hl)
	ret
.l7e22
	ex de,hl
	ld e,#27
	ldi
	ldi
	ld e,#24
	ldi
	ldi
	ld e,#29
	ldi
	ex de,hl
	ld l,#04
	set 2,(hl)
	ret
.l7e39
	ld l,#00
	ex de,hl
	ldi
	ldi
	ex de,hl
.l7e41
	ld l,#00
	ld c,(hl)
	inc l
	ld b,(hl)
	ld a,(bc)
	ld e,a
	inc bc
	ld a,(bc)
	inc bc
	ld d,a
	or e
	jr z,l7e58
	ld (hl),b
	dec l
	ld (hl),c
	inc l
	inc l
	ld (hl),e
	inc l
	ld (hl),d
	ret
.l7e58
	ld d,b
	ld e,c
	pop bc
	ld a,(l8032)
	jp l7bdb
.l7e61
	ld l,#04
	bit 4,(hl)
	ret z
	ld l,#1f
	ld a,(hl)
	inc l
	or (hl)
	ld c,a
	ld a,(l7b52)
	xor c
	ld (l7b52),a
	ret
.l7e74
	ld l,#04
	set 5,(hl)
	ret
.l7e79
	ld l,#04
	res 5,(hl)
	ret
.l7e7e
	ld l,#04
	res 3,(hl)
	ret
.l7e83
	ld l,#04
	bit 2,(hl)
	jr nz,l7e8f
	ret
.l7e8a
	ld l,#04
	bit 1,(hl)
	ret z
.l7e8f
	ld l,#26
	dec (hl)
	jp m,l7f61
	ld l,#25
	bit 7,(hl)
	jr nz,l7eaa
	ld l,#24
	ld a,(hl)
	ld l,#07
	add (hl)
	ld (hl),a
	ld l,#25
	ld a,(hl)
	ld l,#09
	adc (hl)
	ld (hl),a
	ret
.l7eaa
	ld l,#07
	ld a,(hl)
	ld l,#24
	sub (hl)
	ld l,#07
	ld (hl),a
	ld l,#25
	ld c,(hl)
	res 7,c
	ld l,#09
	ld a,(hl)
	sbc c
	ld (hl),a
	ret
.l7ebe
	dec de
	ld a,(de)
	inc de
	cp #8e
	jr z,l7ecf
	ld l,#0d
	ld a,(hl)
	ld l,#2a
	sub (hl)
	ld l,#05
	cp (hl)
	ret c
.l7ecf
	ld l,#04
	bit 3,(hl)
	ret z
	bit 6,(hl)
	jr z,l7ef2
	ld l,#2c
	dec (hl)
	jr nz,l7ee6
	inc l
	ld a,(hl)
	dec l
	ld (hl),a
	ld l,#04
	res 6,(hl)
	ret
.l7ee6
	ld l,#2b
	ld a,(hl)
	ld l,#07
	add (hl)
	ld (hl),a
	ret nc
	ld l,#09
	inc (hl)
	ret
.l7ef2
	ld l,#2c
	dec (hl)
	jr nz,l7f00
	inc l
	ld a,(hl)
	dec l
	ld (hl),a
	ld l,#04
	set 6,(hl)
	ret
.l7f00
	ld l,#07
	ld a,(hl)
	ld l,#2b
	sub (hl)
	ld l,#07
	ld (hl),a
	ret nc
	ld l,#09
	dec (hl)
	ret
.l7f0e
	ld l,#0f
	ld a,(hl)
	or a
	jr z,l7f29
	ld l,#19
	dec (hl)
	ret nz
	inc l
	ld a,(hl)
	dec l
	ld (hl),a
	ld l,#0f
	dec (hl)
	inc l
	ld a,(hl)
	ld l,#0b
	add (hl)
	cp #0f
	ret nc
	ld (hl),a
	ret
.l7f29
	ld l,#12
	ld a,(hl)
	or a
	jr z,l7f47
	ld l,#1b
	dec (hl)
	ret nz
	inc l
	ld a,(hl)
	dec l
	ld (hl),a
	ld l,#12
	dec (hl)
	ld l,#0b
	ld a,(hl)
	ld l,#13
	sub (hl)
	jr nc,l7f43
	xor a
.l7f43
	ld l,#0b
	ld (hl),a
	ret
.l7f47
	ld l,#18
	ld a,(hl)
	or a
	ret z
	ld l,#1d
	dec (hl)
	ret nz
	inc l
	ld a,(hl)
	dec l
	ld (hl),a
	ld l,#0b
	ld a,(hl)
	ld l,#17
	sub (hl)
	jr nc,l7f5d
	xor a
.l7f5d
	ld l,#0b
	ld (hl),a
	ret
.l7f61
	inc (hl)
	ret
	dw #077c,#0710,#06ab,#064b
	dw #05f0,#059b,#054b,#04ff
	dw #04b7,#0473,#0433,#03f6
	dw #03be,#0388,#0355,#0325
	dw #02f8,#02cd,#02a5,#027f
	dw #025b,#0239,#0219,#01fb
	dw #01df,#01c4,#01aa,#0193
	dw #017c,#0167,#0152,#013f
	dw #012e,#011d,#010d,#00fd
	dw #00ef,#00e2,#00d5,#00c9
	dw #00be,#00b3,#00a9,#00a0
	dw #0097,#008e,#0086,#007f
	dw #0078,#0071,#006a,#0064
	dw #005f,#0059,#0054,#0050
	dw #004b,#0047,#0043,#003f
	dw #003c,#0038,#0035,#0032
	dw #002f,#002d,#002a,#0028
	dw #0025,#0023,#0021,#001f
	dw #001e,#001c,#001a,#0019
	dw #0018,#0016,#0015,#0014
	dw #0013,#0012,#0011,#0010
	dw #000f,#000e,#000d,#000c
	dw #000c,#000b,#000a,#000a
	dw #0009,#0009,#0008,#0008
	db #25,#80,#84,#8c,#82,#dc,#11,#1b
.l8032 equ $ + 7
.l8031 equ $ + 6
	db #15,#ef,#30,#8e,#8e,#95,#00,#94
.l8033
	db #ff,#3a,#80,#47,#80,#52,#80,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#01,#01,#80,#01,#02,#03,#04
	db #05,#06,#07,#08,#09,#0a,#80,#0a
	db #14,#1e,#80,#62,#80,#67,#80,#69
	db #80,#6e,#80,#71,#80,#78,#80,#17
	db #00,#17,#0a,#00,#00,#00,#18,#00
	db #00,#00,#80,#0c,#00,#80,#0c,#0c
	db #00,#00,#00,#00,#80,#00,#04,#07
	db #09,#0c,#0c,#0b,#09,#07,#04,#00
	db #00,#80,#00,#00,#00,#01,#71,#81
	db #77,#81,#7d,#81,#03,#01,#a8,#80
	db #ae,#80,#b4,#80,#03,#01,#ba,#80
	db #c0,#80,#c6,#80,#03,#01,#cc,#80
	db #d2,#80,#d8,#80,#03,#10,#81,#00
	db #00,#a8,#80,#32,#81,#00,#00,#ae
	db #80,#50,#81,#00,#00,#b4,#80,#de
	db #80,#00,#00,#ba,#80,#ec,#80,#00
	db #00,#c0,#80,#fe,#80,#00,#00,#c6
	db #80,#83,#81,#00,#00,#cc,#80,#95
	db #81,#00,#00,#d2,#80,#a7,#81,#00
	db #00,#d8,#80,#90,#02,#df,#00,#00
	db #00,#f7,#8a,#88,#00,#08,#18,#39
	db #80,#df,#00,#00,#00,#f7,#8a,#88
	db #00,#08,#18,#86,#01,#00,#00,#00
	db #00,#39,#80,#df,#00,#00,#00,#f7
	db #8a,#88,#00,#08,#18,#86,#02,#00
	db #00,#00,#00,#39,#80,#90,#0c,#df
	db #00,#1f,#15,#e2,#96,#ff,#82,#8a
	db #2d,#2d,#2d,#2d,#cd,#2d,#e3,#2d
	db #cc,#2d,#e4,#2d,#8f,#8f,#8f,#8f
	db #8f,#8f,#8f,#8f,#8f,#8f,#80,#dc
	db #00,#1f,#15,#e2,#82,#8a,#2d,#2d
	db #2d,#2d,#ca,#2d,#e3,#2d,#c8,#2d
	db #e4,#2d,#8f,#8f,#8f,#8f,#8f,#8f
	db #8f,#8f,#8f,#8f,#80,#da,#00,#1f
	db #12,#e2,#8a,#8b,#88,#01,#01,#01
	db #39,#39,#39,#39,#39,#e3,#39,#39
	db #e4,#39,#8e,#8f,#8f,#8f,#8f,#8f
	db #8f,#8f,#8f,#8f,#91,#80,#b9,#81
	db #00,#00,#71,#81,#2f,#82,#00,#00
	db #77,#81,#b9,#82,#00,#00,#7d,#81
	db #ff,#df,#11,#1f,#12,#8d,#17,#8e
	db #8e,#8e,#8e,#8e,#8e,#8e,#8e,#8e
	db #8e,#80,#ff,#df,#11,#1f,#12,#8b
	db #17,#8e,#8e,#8e,#8e,#8e,#8e,#8e
	db #8e,#8e,#8e,#80,#ff,#df,#11,#1f
	db #12,#8b,#17,#8e,#8e,#8e,#8e,#8e
	db #8e,#8e,#8e,#8e,#8e,#80,#90,#09
	db #df,#13,#1f,#11,#ea,#8a,#0c,#8f
	db #0c,#8f,#0c,#8f,#df,#11,#1f,#12
	db #8d,#17,#8e,#8a,#90,#09,#df,#13
	db #1f,#11,#ea,#8a,#0c,#8f,#0c,#8f
	db #0c,#8f,#df,#11,#1f,#12,#8d,#17
	db #8e,#8a,#90,#09,#df,#13,#1f,#11
	db #ea,#8a,#0c,#8f,#0c,#8f,#0c,#8f
	db #df,#11,#1f,#12,#8d,#17,#8e,#8a
	db #90,#09,#df,#13,#1f,#11,#ea,#8a
	db #0c,#8f,#0c,#8f,#0c,#8f,#df,#11
	db #1f,#12,#8d,#17,#8e,#8a,#90,#09
	db #df,#13,#1f,#11,#ea,#8a,#0c,#8f
	db #df,#11,#1f,#12,#8d,#18,#8e,#17
	db #18,#8e,#18,#8e,#8e,#18,#8e,#17
	db #8e,#8e,#8e,#80,#df,#11,#1f,#11
	db #ea,#8a,#86,#01,#00,#00,#00,#00
	db #0c,#0c,#0c,#0c,#0c,#0c,#df,#11
	db #1f,#12,#8b,#17,#8e,#8a,#df,#11
	db #1f,#11,#ea,#8a,#86,#01,#00,#00
	db #00,#00,#0c,#0c,#0c,#0c,#0c,#0c
	db #df,#11,#1f,#12,#8b,#17,#8e,#8a
	db #df,#11,#1f,#11,#ea,#8a,#86,#01
	db #00,#00,#00,#00,#0c,#0c,#0c,#0c
	db #0c,#0c,#df,#11,#1f,#12,#8b,#17
	db #8e,#8a,#df,#11,#1f,#11,#ea,#8a
	db #86,#01,#00,#00,#00,#00,#0c,#0c
	db #0c,#0c,#0c,#0c,#df,#11,#1f,#12
	db #8b,#17,#8e,#8a,#df,#11,#1f,#11
	db #ea,#8a,#86,#01,#00,#00,#00,#00
	db #0c,#0c,#df,#11,#1f,#12,#8b,#17
	db #8e,#17,#17,#8e,#17,#8e,#8e,#17
	db #8e,#17,#8e,#8e,#8e,#80,#de,#11
	db #1f,#11,#ea,#8a,#8c,#18,#8a,#8f
	db #8c,#18,#8a,#8f,#8c,#18,#8a,#8f
	db #df,#11,#1f,#12,#8b,#17,#8e,#8a
	db #de,#11,#1f,#11,#ea,#8a,#8c,#18
	db #8a,#8f,#8c,#18,#8a,#8f,#8c,#18
	db #8a,#8f,#df,#11,#1f,#12,#8b,#17
	db #8e,#8a,#de,#11,#1f,#11,#ea,#8a
	db #8c,#18,#8a,#8f,#8c,#18,#8a,#8f
	db #8c,#18,#8a,#8f,#df,#11,#1f,#12
	db #8b,#17,#8e,#8a,#de,#11,#1f,#11
	db #ea,#8a,#8c,#18,#8a,#8f,#8c,#18
	db #8a,#8f,#8c,#18,#8a,#8f,#df,#11
	db #1f,#12,#8b,#17,#8e,#8a,#de,#11
	db #1f,#11,#ea,#8a,#8c,#0c,#8a,#8f
	db #df,#11,#1f,#12,#8b,#17,#8e,#17
	db #17,#8e,#17,#8e,#8e,#17,#8e,#17
	db #8e,#8e,#8e,#80
.l833f
	db #ff
	db #00,#00,#00,#00,#ff,#80,#04,#80
	db #07,#ff,#04,#00,#04,#00,#07,#ff
	db #02,#ff,#00,#01,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#ff,#01,#ff
	db #01,#ff,#01,#ff,#01,#ff,#01,#ff
	db #01,#ff,#01,#ff,#01,#ff,#01,#ff
	db #01,#ff,#01,#ff,#01,#ff,#01,#ff
	db #01,#ff,#01,#ff,#ff,#ff,#ef,#ff
	db #02,#ff,#01,#ff,#00,#ff,#01,#ff
	db #00,#ff,#01,#ff,#03,#ff,#01,#ff
	db #02,#ff,#05,#ff,#02,#ff,#01,#ff
	db #02,#ff,#01,#ff,#ff,#ff,#ff,#f7
	db #ff,#40,#ff,#80,#ff,#00,#ff,#00
	db #ff,#00,#ff,#00,#ff,#00,#ff,#00
	db #ff,#00,#ff,#00,#ff,#00,#ff,#00
	db #ff,#00,#ff,#00,#ff,#ff,#81,#ff
	db #41,#ff,#01,#ff,#01,#ff,#01,#ff
	db #01,#ff,#01,#ff,#01,#ff,#01,#ff
	db #01,#ff,#01,#ff,#01,#ff,#01,#ff
	db #01,#ff,#01,#ff,#ff,#ff,#ef,#d5
	db #02,#aa,#01,#d4,#00,#ff,#01,#d5
	db #00,#aa,#01,#d5,#03,#aa,#01,#ff
	db #02,#aa,#05,#d4,#02,#a8,#01,#d0
	db #02,#ff,#01,#ff,#ff,#ff,#55,#54
	db #aa,#0f,#00,#00,#ff,#ff,#e0,#00
	db #00,#00,#7e,#0f,#00,#00,#ff,#e0
	db #01,#47,#37,#ff,#00,#7f,#00,#00
	db #ff,#ff,#ff,#ff,#ff,#ff,#3f,#f7
	db #ff,#40,#01,#80,#ff,#00,#01,#00
	db #7f,#00,#ff,#00,#03,#00,#7f,#00
	db #ff,#00,#ff,#00,#ff,#00,#03,#00
	db #ff,#00,#ff,#00,#00,#00,#00,#00
	db #ff,#ff,#ff,#ff,#e0,#00,#7a,#00
	db #f0,#00,#00,#00,#04,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #ff,#ff,#ff,#c0,#00,#01,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#01,#00,#00,#ff,#ff,#ff,#ff
	db #ff,#ff,#6d,#ff,#f8,#7f,#1f,#96
	db #00,#01,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #3f,#f8,#04,#60,#fe,#7f,#8a,#7f
	db #fe,#7f,#22,#7f,#fe,#7f,#8a,#7f
	db #fe,#7f,#22,#7f,#fe,#7f,#8a,#7f
	db #fe,#7f,#22,#7f,#fe,#7f,#8a,#7f
	db #fe,#7f,#22,#7f,#fe,#60,#02,#40
	db #07,#ff,#04,#00,#04,#00,#07,#ff
	db #02,#ff,#00,#01,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#3f,#ff,#28
	db #ff,#3f,#ff,#22,#ff,#3f,#ff,#28
	db #ff,#3f,#ff,#22,#ff,#3f,#ff,#28
	db #ff,#3f,#ff,#22,#ff,#3f,#ff,#28
	db #ff,#3f,#ff,#22,#07,#3f,#01,#20
	db #ff,#f0,#00,#10,#00,#10,#ff,#f0
	db #ff,#a0,#80,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#ff,#fe,#88,#8d
	db #ff,#fe,#22,#25,#ff,#fe,#88,#8d
	db #ff,#fd,#22,#25,#ff,#fd,#88,#8d
	db #ff,#fc,#22,#26,#ff,#ff,#88,#88
	db #ff,#ff,#22,#22,#be,#7f,#5a,#7f
	db #be,#7f,#52,#7f,#be,#7f,#5a,#7f
	db #de,#7f,#52,#7f,#5e,#7f,#5a,#7f
	db #1e,#7f,#32,#7f,#fe,#7f,#8a,#7f
	db #fe,#7f,#22,#7f,#ff,#3e,#ff,#2d
	db #ff,#3e,#ff,#25,#ff,#3e,#ff,#2d
	db #ff,#3d,#ff,#25,#ff,#3d,#ff,#2d
	db #ff,#3c,#ff,#26,#ff,#3f,#ff,#28
	db #ff,#3f,#ff,#22,#bf,#ff,#58,#88
	db #bf,#ff,#52,#22,#bf,#ff,#58,#88
	db #df,#ff,#52,#22,#5f,#ff,#58,#88
	db #1f,#ff,#32,#22,#ff,#ff,#88,#88
	db #ff,#ff,#22,#22,#ff,#ff,#88,#88
	db #ff,#ff,#22,#28,#ff,#ff,#88,#88
	db #ff,#f8,#22,#24,#ff,#ff,#88,#8f
	db #ff,#fc,#22,#25,#ff,#fc,#88,#8e
	db #ff,#fe,#22,#27,#ff,#ff,#88,#88
	db #ff,#ff,#00,#00,#ff,#ff,#00,#00
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #10,#00,#d0,#00,#90,#00,#bf,#ff
	db #3e,#00,#72,#00,#ff,#ff,#88,#88
	db #ff,#ff,#00,#00,#ff,#ff,#00,#00
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#00,#00,#00,#00,#00,#ff,#ff
	db #00,#00,#00,#00,#ff,#ff,#88,#88
	db #ff,#ff,#00,#00,#ff,#ff,#00,#00
	db #00,#00,#00,#00,#ff,#ff,#ff,#ff
	db #00,#04,#00,#05,#00,#04,#ff,#fe
	db #00,#3e,#00,#23,#ff,#ff,#88,#88
	db #ff,#ff,#12,#22,#ff,#ff,#18,#88
	db #1f,#ff,#22,#22,#ff,#ff,#f8,#88
	db #1f,#ff,#d2,#22,#9f,#ff,#b8,#88
	db #00
; #65a2
.l65a2
	ld b,#f4
	out (c),a
	ld b,#f6
	in a,(c)
	or #c0
	out (c),a
	and #3f
	out (c),a
	ld b,#f4
	out (c),c
	ld b,#f6
	ld c,a
	or #80
	out (c),a
	out (c),c
	ret

	defs &100-&5f,0	; added by Megachur

; #ce00 -> &9000

.lce09 equ $ +9
.lce07 equ $ +7
.lce00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #01,#00,#08,#0f,#00,#04,#00,#00
	db #00,#00,#00,#00,#0f,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#01
	db #08,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#02,#00,#03,#00
	db #09,#0f,#00,#04,#00,#00,#00,#00
	db #00,#00,#0f,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#02,#10,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#04,#00,#05,#00,#0a,#0f
	db #00,#04,#00,#00,#00,#00,#00,#00
	db #0f,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#04,#20,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #04,#00,#05,#00,#0a,#0f,#00,#04
	db #00,#00,#00,#00,#00,#00,#0f,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#04,#20,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #f3,#31,#00,#00,#cd,#ff,#77,#cd
	db #12,#87,#21,#00,#01,#3e,#01,#06
	db #09,#cd,#fc,#77,#cd,#02,#78,#c3
	db #00,#c0,#21,#21,#87,#af,#cd,#05
	db #78,#21,#51,#87,#af,#cd,#05,#78
	db #c9,#00,#2d,#87,#00,#00,#06,#4d
	db #00,#02,#09,#52,#e5,#00,#00,#41
	db #02,#00,#00,#42,#02,#00,#00,#43
	db #02,#00,#00,#44,#02,#00,#00,#45
;.lcf00
	db #00,#00,#00,#00,#00,#00,#02,#00
	db #03,#00,#09,#0f,#00,#04,#00,#00
	db #00,#00,#00,#00,#0f,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#02
	db #10,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#04,#00,#05,#00
	db #0a,#0f,#00,#04,#00,#00,#00,#00
	db #00,#00,#0f,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#04,#20,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#04,#00,#05,#00,#0a,#0f
	db #00,#04,#00,#00,#00,#00,#00,#00
	db #0f,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#04,#20,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00
	db #f3,#31,#00,#00,#cd,#ff,#77,#cd
	db #12,#87,#21,#00,#01,#3e,#01,#06
	db #09,#cd,#fc,#77,#cd,#02,#78,#c3
	db #00,#c0,#21,#21,#87,#af,#cd,#05
	db #78,#21,#51,#87,#af,#cd,#05,#78
	db #c9,#00,#2d,#87,#00,#00,#06,#4d
	db #00,#02,#09,#52,#e5,#00,#00,#41
	db #02,#00,#00,#42,#02,#00,#00,#43
	db #02,#00,#00,#44,#02,#00,#00,#45
	db #02,#00,#00,#46,#02,#00,#00,#47
	db #02,#00,#00,#48,#02,#00,#00,#49
	db #02,#00,#60,#87,#00,#00,#09,#45
	db #00,#00,#00,#41,#02,#41,#52,#00
	db #f3,#31,#00,#01,#21,#00,#10,#06
	db #09,#3e,#01,#cd,#2b,#01
;
.ld000
;
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.ld600
	db #00,#00,#00,#00,#00,#00,#04,#00
	db #05,#00,#0a,#0f,#00,#04,#00,#00
	db #00,#00,#00,#00,#0f,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#04
	db #20,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#04,#00,#05,#00
	db #0a,#0f,#00,#04,#00,#00,#00,#00
	db #00,#00,#0f,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#04,#20,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#f3,#31,#00,#00
	db #cd,#ff,#77,#cd,#12,#87,#21,#00
	db #01,#3e,#01,#06,#09,#cd,#fc,#77
	db #cd,#02,#78,#c3,#00,#c0,#21,#21
.ld67c equ $ + 4
	db #87,#af,#cd,#05,#78,#21,#51,#87
	db #af,#cd,#05,#78,#c9,#00,#2d,#87
	db #00,#00,#06,#4d,#00,#02,#09,#52
	db #e5,#00,#00,#41,#02,#00,#00,#42
	db #02,#00,#00,#43,#02,#00,#00,#44
	db #02,#00,#00,#45,#02,#00,#00,#46
	db #02,#00,#00,#47,#02,#00,#00,#48
	db #02,#00,#00,#49,#02,#00,#60,#87
	db #00,#00,#09,#45,#00,#00,#00,#41
	db #02,#41,#52,#00,#f3,#31,#00,#01
	db #21,#00,#10,#06,#09,#3e,#01,#cd
	db #2b,#01,#cd,#2e,#01,#21,#1d,#01
	db #11,#00,#00,#01,#64,#00,#ed,#b0
	db #c7,#21,#00,#10,#11,#00,#01,#01
	db #00,#90,#ed,#b0,#c3,#00,#01,#c3
	db #31,#01,#c3,#be,#02,#32,#bc,#01
	db #e5,#c5,#22,#62,#01,#3a,#bc,#01
.ld702 equ $ + 2
.ld700
	db #00,#00,#00,#00,#00,#00,#04,#00
	db #05,#00,#0a,#0f,#00,#04,#00,#00
	db #00,#00,#00,#00,#0f,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#04
	db #20,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#04,#00,#05,#00
	db #0a,#0f,#00,#04,#00,#00,#00,#00
	db #00,#00,#0f,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#04,#20,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#f3,#31,#00,#00
	db #cd,#ff,#77,#cd,#12,#87,#21,#00
	db #01,#3e,#01,#06,#09,#cd,#fc,#77
	db #cd,#02,#78,#c3,#00,#c0,#21,#21
	db #87,#af,#cd,#05,#78,#21,#51,#87
	db #af,#cd,#05,#78,#c9,#00,#2d,#87
	db #00,#00,#06,#4d,#00,#02,#09,#52
	db #e5,#00,#00,#41,#02,#00,#00,#42
	db #02,#00,#00,#43,#02,#00,#00,#44
	db #02,#00,#00,#45,#02,#00,#00,#46
	db #02,#00,#00,#47,#02,#00,#00,#48
	db #02,#00,#00,#49,#02,#00,#60,#87
	db #00,#00,#09,#45,#00,#00,#00,#41
	db #02,#41,#52,#00,#f3,#31,#00,#01
	db #21,#00,#10,#06,#09,#3e,#01,#cd
	db #2b,#01,#cd,#2e,#01,#21,#1d,#01
	db #11,#00,#00,#01,#64,#00,#ed,#b0
	db #c7,#21,#00,#10,#11,#00,#01,#01
	db #00,#90,#ed,#b0,#c3,#00,#01,#c3
	db #31,#01,#c3,#be,#02,#32,#bc,#01
	db #e5,#c5,#22,#62,#01,#3a,#bc,#01
;
.game_name
	db "Hostages",0
.game_year
	db "1990",0
.game_publisher
	db "Infogrames",0
.music_author
	db "",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
